package org.jeecg.modules.demo.com.kunpeng.service.impl;

import org.jeecg.modules.demo.com.kunpeng.entity.ProjectDetails;
import org.jeecg.modules.demo.com.kunpeng.mapper.ProjectDetailsMapper;
import org.jeecg.modules.demo.com.kunpeng.service.IProjectDetailsService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 项目详细信息表
 * @Author: jeecg-boot
 * @Date:   2022-12-03
 * @Version: V1.0
 */
@Service
public class ProjectDetailsServiceImpl extends ServiceImpl<ProjectDetailsMapper, ProjectDetails> implements IProjectDetailsService {
	
	@Autowired
	private ProjectDetailsMapper projectDetailsMapper;

	/**
	 * 根据主表id查询列表
	 * @param mainId 主表id
	 * @return
	 */
	@Override
	public List<ProjectDetails> selectByMainId(String mainId) {
		return projectDetailsMapper.selectByMainId(mainId);
	}
}
